<html>
    <script>
        function test(){
            android.test(111111,function(){

            },function(){

            });
        }
    </script>
    <body>
        <button onclick="test()">test</button>
        <button onclick="ui.test()">ui test</button>
    </body>
</html>